Skip to content

state: write root-relative paths with / on windows - #4

Merged
dumbmoron merged 1 commit into
mainfrom
windows-path-separators
Nov 19, 2026
Merged

dumbmoron merged 1 commit into
mainfrom
windows-path-separators

Conversation

@dumbmoron

Copy link
Copy Markdown
Member

paths of tracked files come from walking .pc and from joining path components, which uses \ on windows, so refresh wrote headers like a/chrome\app\main.cc into every patch. convert those paths to /, which windows accepts as well, so patches match the ones written elsewhere.

paths of tracked files come from walking .pc and from joining path
components, which uses \ on windows, so refresh wrote headers like
a/chrome\app\main.cc into every patch. convert those paths to /, which
windows accepts as well, so patches match the ones written elsewhere.
@dumbmoron
dumbmoron requested a review from wukko November 19, 2026 13:30
@dumbmoron
dumbmoron merged commit 1a709fb into main Nov 19, 2026
9 checks passed
@dumbmoron
dumbmoron deleted the windows-path-separators branch November 19, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants